2D Image Downsampling And Upsampling Explained With Examples